<template>
  <div id="app">
    <Header></Header>
    <Home></Home>
    <ProgramDock></ProgramDock>
  </div>
</template>

<script>
import Home from "./components/Home.vue";
import Header from "./components/Header.vue";
import ProgramDock from "./components/ProgramDock.vue";
export default {
  name: "App",
  components: {
    Home,
    Header,
    ProgramDock,
  },
  mounted() {
    //  this.getDate();
  },
  methods: {
    async getDate() {},
  },
};
</script>

<style>
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  overflow: hidden;
  font-family: "Helvetica", Arial, sans-serif;
  /* 这里加overflow hidden会出现问题 */
}

#app {
  background-image: url("./assets/Image/12-Light.jpeg");
  background-size: 100% 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  /*关键*/
  background-position: center;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -10;
  zoom: 1;
  /* overflow: hidden; */
}
</style>
